<!-- 汽车评测 -->
{% extends "./backindex.html"%}

<!-- 发布评测 -->
{% block one%}

<li class="layui-nav-item layui-hide-xs"><a href="#" type="button" data-toggle="modal"
    data-target="#staticBackdrop">汽车评测</a></li>

{% endblock %}

<!-- 发布评测 -->

{% block content %}

<style>
  img {
    width: 100%;
    height: 661px;
  }
</style>

<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
  <ol class="carousel-indicators">
    <li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
    <li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
    <li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
  </ol>
  <div class="carousel-inner">
    <div class="carousel-item active">
      <img src="img/10.jpg" class="d-block w-100" alt="...">
    </div>
    <div class="carousel-item">
      <img src="img/11.png" class="d-block w-100" alt="...">
    </div>
    <div class="carousel-item">
      <img src="img/12.jpg" class="d-block w-100" alt="...">
    </div>
  </div>
  <button class="carousel-control-prev" type="button" data-target="#carouselExampleIndicators" data-slide="prev">
    <span class="carousel-control-prev-icon" aria-hidden="true"></span>
    <span class="sr-only">Previous</span>
  </button>
  <button class="carousel-control-next" type="button" data-target="#carouselExampleIndicators" data-slide="next">
    <span class="carousel-control-next-icon" aria-hidden="true"></span>
    <span class="sr-only">Next</span>
  </button>
</div>

<!-- 模态框 -->
<form id="carForm" action="/carEvaluationDone" method="POST">
  <div class="modal fade " id="staticBackdrop" data-backdrop="static" data-keyboard="false" tabindex="-1"
    aria-labelledby="staticBackdropLabel" aria-hidden="true">
    <div class="modal-dialog modal-xl">
      <div class="modal-content">
        <div class="modal-header">
          <h5 class="modal-title" id="staticBackdropLabel">汽车评测表</h5>
          <button type="button" class="close" data-dismiss="modal" aria-label="Close">
            <span aria-hidden="true">&times;</span>
          </button>
        </div>
        <!-- 汽车评测 -->
        <div class="modal-body">
          <p>
            汽车评测
          </p>
          <p>
            汽车名称:
            <input type="text" id="carone" name="carone" placeholder="必填❗">
          </p>
          <p>
            评测题目:
            <input type="text" id="cartow" name="cartwo" placeholder="必填❗">
          </p>
          <p>
            评测题目:
            <input type="text" id="carthre" name="carthre" placeholder="必填❗">
          </p>
          <p>
            评测题目:
            <input type="text" id="carfour" name="carfour" placeholder="必填❗">
          </p>
          <p>
            评测题目:
            <input type="text" id="carfive" name="carfive" placeholder="必填❗">
          </p>
        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
          <button type="button" class="btn btn-primary" onclick="carGo()">发布</button>
        </div>
      </div>
    </div>
  </div>
</form>
<!-- 模态框 -->


{% endblock %}